/* 整体设置容器 */
.settings-container {
  padding: 20px;
  max-width: 1200px;
  width: 80%;
  margin: 0 auto;
}

.settings-header {
  color: #1a2a6c;
  font-weight: 700; /* 使用数值型字重更精确 */
  margin-bottom: 20px;
  padding-bottom: 10px;
  
  /* 新增字体美化属性 */
  font-family: 'Segoe UI', 'Helvetica Neue', system-ui, sans-serif; /* 现代字体栈 */
  font-size: 1.8rem; /* 相对单位适配不同屏幕 */
  letter-spacing: 0.25px; /* 微调字间距提升可读性 */
  text-shadow: 
    0 1px 1px rgba(255, 255, 255, 0.4), /* 顶部高光 */
    0 -1px 1px rgba(0, 0, 0, 0.1);      /* 底部阴影 */
  text-transform: uppercase; /* 字母大写增强标题感 */
  border-bottom: 2px solid rgba(26, 42, 108, 0.15); /* 增加底部装饰线 */
  text-align: center;
}

.icon-settings {
  color: #000;
}

.settings-tabs {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 卡片样式 */
.profile-card,
.preferences-card {
  border-radius: 10px;
  background: #f0f8ff;
  background: rgba(173, 196, 230, 0.3);
  border: 1px solid #c5e1f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 表单样式 */
.profile-form,
.preferences-form,
.password-form {
  max-width: 600px;
  margin: 0 auto;
}

.section-title {
  color: #1a2a6c;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #c5e1f9;
}

/* 按钮样式 */
.save-button,
.password-button,
.save-preferences,
.confirm-button 
.cancel-button {
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
  border: none;
  font-weight: bold;
  color: black;
}

.save-button:focus,
.password-button:focus,
.save-preferences:focus,
.confirm-button 
.cancel-button:focus {
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
  border: none;
  font-weight: bold;
  color: black;
}
.save-button:hover:not(:active),
.password-button:hover:not(:active),
.save-preferences:hover:not(:active),
.confirm-button:hover 
.cancel-button:hover:not(:active) {
  background: linear-gradient(135deg, #43a1ff, #00f2fe);
  transform: translateY(-2px);
  color: #fff;
}


/* 下拉选择器 */
.genre-select,
.emotion-select,
.tag-select {
  width: 100%;
}

/* 偏好设置提示 */
.preferences-tip {
  color: #666;
  font-size: 14px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 4px;
  border-left: 4px solid #1a2a6c;
}

/* 模态框样式 */
.password-modal .ant-modal-content {
  border-radius: 10px;
}

.password-form .ant-form-item {
  margin-bottom: 16px;
}

.password-actions {
  margin-bottom: 0;
  text-align: right;
}

.password-actions .ant-btn {
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}
.password-actions .ant-btn:hover {
  background: linear-gradient(135deg, #43a1ff, #00f2fe);
  color:#fff;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .settings-container {
    padding: 10px;
  }
  
  .settings-tabs {
    padding: 10px;
  }
  
  .profile-form,
  .preferences-form {
    max-width: 100%;
  }
}